Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

636145 Views

Latest files of /cody/swapnilsparsh/30DaysOfJavaScript/64 - Photo Editor

image-editor.css cody/swapnilsparsh/30DaysOfJavaScript/64 - Photo Editor/image-editor.css
114 Views
0 Comments
#imageEditor {
margin:auto;
padding:20px;
border:1px solid #4b4b4b;
-moz-border-radius:8px;
-webkit-border-radius:8px;
border-radius:8px;
background-color:#ababab;
style.css cody/swapnilsparsh/30DaysOfJavaScript/64 - Photo Editor/style.css
112 Views
0 Comments
html,
body {
height: 100%;
}

.text_box {
margin-top: 50px;
width: 100%;
index.html cody/swapnilsparsh/30DaysOfJavaScript/64 - Photo Editor/index.html
303 Views
0 Comments
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
script.js cody/swapnilsparsh/30DaysOfJavaScript/64 - Photo Editor/script.js
169 Views
0 Comments
onload = function () {
const editor = document.getElementById("editor");
const context = editor.getContext("2d");
const toolbar = document.getElementById("toolbar");

const tools = {
"upload" : function () {
const upload = document.createElement('input');